package com.example.loginsystem.dao;

import com.example.loginsystem.bean.Role;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Cheung0
 * Created on 2021/11/27
 */
@Mapper
public interface RoleDAO {

    Role getByRoleName(String roleName);

    Role getByUserName(String userName);

}
